<template>
  <div class="card-box">
    <div class="top">
      <span>
        <slot name="title"></slot>
      </span>
      <div class="top-icon">
        <slot name="icon"></slot>
      </div>
    </div>

    <div class="amount">
      <slot name="amount"></slot>
    </div>
    <hr>
<div class="bottom">

    <slot name="bottom"></slot>
</div>
  </div>
</template>

<style lang="scss" scoped>
.card-box{
  width: 100%;
  background-color: #fff;
  border-radius:12px;
  min-height: 100px;
  padding: 20px;
  .top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    .top-icon{
      width: 30px;
      height: 30px;
    }
  }
  .amount{
    font-size: 32px;
    font-weight: bold;
    color: #333333;
    padding-bottom: 8px;
  }
  .bottom{
    padding-top: 12px;
    color: #999999;
  }
}


</style>
<script setup lang="ts">
</script>